package com.pb.service;

import com.pb.pojo.Clazz;
import com.pb.pojo.PageResult;
import com.pb.pojo.Subject;

import java.time.LocalDate;
import java.util.List;

public interface SubjectService {

    void save(Subject subject);


    PageResult page(String name,Integer page, Integer pageSize);

    Subject getInfo(Integer id);

    void update(Subject subject);

    void deleteById(Integer id);

    List<Subject> findAll();
}
